<template>
  <div class="home">
    <el-card>
      <div class="card-title">
        <div class="left-title">
          <slot name="leftTitle"> </slot>
        </div>
        <div class="right-title">
          <slot name="rightTitle"> </slot>
        </div>
      </div>
      <div class="content">
        <slot name="content"></slot>
      </div>
      <div class="footer">
        <slot name="footer"> </slot>
      </div>
    </el-card>
  </div>
</template>

<script>
export default {}
</script>

<style lang="scss" scoped>
.home {
  .card-title {
    display: flex;
    justify-content: space-between;
  }
  .footer {
    display: flex;
    justify-content: flex-end;
  }
}
</style>
